package com.dx.financehy.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <pre>
 * @描述：根据证件号获取健康码信息
 * @作者：CLD
 * @创建时间：2022-07-14 15:00
 * </pre>
 **/
@Data
@ApiModel(value = "CSBCertDTO", description = "扫描健康码获取人员信息")
public class CSBCertDTO {

    @NotBlank(message = "证件类型不能为空")
    @ApiModelProperty("证件类型：" +
            "IDENTITY_CARD-身份证，" +
            "PASSPORT-护照，" +
            "MILITARY_OFFICER_CARD-军官证，" +
            "SOLDIER_CARD-⼠兵证，" +
            "MAINLAND_TRAVEL_PERMIT_FOR_HK_MAC-回乡证，" +
            "TEMPORARY_ID_CARD-临时身份证 ，" +
            "RESIDENCE_BOOKLET-户⼝簿，" +
            "POLICE_OFFICER_CARD-警官证，" +
            "MAINLAND_TRAVEL_PERMIT_FOR_TAIWAN-台胞证，" +
            "BUSINESS_LICENSE-营业执照，" +
            "OTHER_CERT-其它证件，" +
            "HK_MACAU_LAISSEZ_PASSER-港澳居⺠来往内地通⾏证，" +
            "TAIWAN_LAISSEZ_PASSER-台湾居⺠来往⼤陆通⾏证，"
    )
    private String certType;

    @NotBlank(message = "证件号不能为空")
    @ApiModelProperty("证件号")
    private String certNo;

}
